In mathematics, a Lehmer number is a generalization of a Lucas sequence.
If a and b are complex numbers with
under the following conditions:
Then, the corresponding Lehmer numbers are:
for n odd, and
for n even.
Their companion numbers are:
for n odd and
for n even.